package com.example.demos.model;

public class User {
    private int id;
    private int group_id;
    private String username;
    private String nameid;
    private int carid;
    private String nickname;
    private String password;
    private String password2;
    private String salt;
    private String email;
    private String mobile;
    private String avatar;
    private int level;

    private int gender;
    private int birthday;
    private String bio;
    private double money;
    private double money2;
    private double score;
    private int successions;
    private int maxsuccessions;
    private int prevtime;
    private String logintime;

    public int getId() {
        return id;
    }

    public int getGroup_id() {
        return group_id;
    }

    public String getUsername() {
        return username;
    }

    public String getNameid() {
        return nameid;
    }

    public int getCarid() {
        return carid;
    }

    public String getNickname() {
        return nickname;
    }

    public String getPassword() {
        return password;
    }

    public String getPassword2() {
        return password2;
    }

    public String getSalt() {
        return salt;
    }

    public String getEmail() {
        return email;
    }

    public String getMobile() {
        return mobile;
    }

    public String getAvatar() {
        return avatar;
    }

    public int getLevel() {
        return level;
    }

    public int getGender() {
        return gender;
    }

    public int getBirthday() {
        return birthday;
    }

    public String getBio() {
        return bio;
    }

    public double getMoney() {
        return money;
    }

    public double getMoney2() {
        return money2;
    }

    public double getScore() {
        return score;
    }

    public int getSuccessions() {
        return successions;
    }

    public int getMaxsuccessions() {
        return maxsuccessions;
    }

    public int getPrevtime() {
        return prevtime;
    }

    public String getLogintime() {
        return logintime;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setNameid(String nameid) {
        this.nameid = nameid;
    }

    public void setCarid(int carid) {
        this.carid = carid;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setPassword2(String password2) {
        this.password2 = password2;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public void setBirthday(int birthday) {
        this.birthday = birthday;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setMoney2(double money2) {
        this.money2 = money2;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public void setSuccessions(int successions) {
        this.successions = successions;
    }

    public void setMaxsuccessions(int maxsuccessions) {
        this.maxsuccessions = maxsuccessions;
    }

    public void setPrevtime(int prevtime) {
        this.prevtime = prevtime;
    }

    public void setLogintime(String logintime) {
        this.logintime = logintime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", group_id=" + group_id +
                ", username='" + username + '\'' +
                ", nameid='" + nameid + '\'' +
                ", carid=" + carid +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", password2='" + password2 + '\'' +
                ", salt='" + salt + '\'' +
                ", email='" + email + '\'' +
                ", mobile='" + mobile + '\'' +
                ", avatar='" + avatar + '\'' +
                ", level=" + level +
                ", gender=" + gender +
                ", birthday=" + birthday +
                ", bio='" + bio + '\'' +
                ", money=" + money +
                ", money2=" + money2 +
                ", score=" + score +
                ", successions=" + successions +
                ", maxsuccessions=" + maxsuccessions +
                ", prevtime=" + prevtime +
                ", logintime='" + logintime + '\'' +
                '}';
    }
}
